package com.lichongbing.lyoggl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lichongbing.lyoggl.mapper.MoneyMapper;
import com.lichongbing.lyoggl.model.Bank;
import com.lichongbing.lyoggl.service.BankService;
import com.lichongbing.lyoggl.mapper.BankMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class BankServiceImpl extends ServiceImpl<BankMapper, Bank>
    implements BankService{

    @Autowired
    private BankMapper bankMapper;
    @Override
    public List<Bank> findByUid(String userid) {
        return bankMapper.findByUid(userid);
    }

    @Override
    public int deleteByUid(String id, String userid) {
        return bankMapper.deleteByUid(id,userid);
    }
}




